@font-face {
    font-family: 'AlibabaPuHuiTi';
    src: url('/res/font/AlibabaPuHuiTi.woff2') format('woff2');
  }

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'AlibabaPuHuiTi', Arial, sans-serif;
    font-size:18px;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
p {

    font-weight: 400;
    letter-spacing: 0.5px;
    font-size: 16px;
    color: #000;
}

.top-section {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.top-background {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    backdrop-filter: blur(5px);
}

.top-sign-0 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: bold;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease-out;
}

.top-sign-1 {
    font-size: 1.2rem;
    color: #e0e0e0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content {
    padding: 20px 0;
    min-height: calc(100vh - 300px); /* 减去顶部的高度 */
    display: flex;
    flex-direction: column;
}

.content-container {
    width: 45%;
    margin: 0 auto;
    position: relative;
    min-height: calc(100vh - 300px - 100px); /* 减去顶部和底部的高度 */
}

.timeline-container {
    position: relative;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 35px;
    top: -20px;
    bottom: 0;
    width: 2px;
    background: #ffffff;
}

.timeline-dot {
    position: absolute;
    left: 36px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #000000;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 1px #000000, 0 0 0 4px #ffffff;
    margin-top: 28px;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.timeline-dot:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 0 3px #000000, 0 0 0 8px #ffffff;
}

/* 限制时间轴图片的最大尺寸 */
.timeline-item-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

iframe{
    width: 100%;
    aspect-ratio: 16/10;
    align-items: center;
    margin : 20px 0;
  }

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* 调整图片网格中的图片大小 */
.image-grid img {
    width: 100%;
    height: 150px; /* 限制固定高度以统一显示 */
    object-fit: cover;
    border-radius: 4px;
}

video{
    width: 100%;
    margin: auto auto;
}
.video-time-jump{
    color: #ff7e79;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .timeline-container {
        width: 100% !important;
    }
    
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item-content {
        margin-left: 12px !important;
    }
}

/* 动画效果 */
.timeline-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item-content {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    margin-left: 60px;
    position: relative;
    color: #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.text-black {
    color: #000;
}

/* 标签样式 */
.hashtag {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    margin-right: 8px;
    margin-top: 8px;
    background-color: #ddd;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #4b5563;
}

/* 底部样式 */
.bottom {
    width: 100%;
    background-color: #2a2a2a;
    padding: 20px 0;
    margin-top: 50px;
}

.bottom-content {
    width: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #cccccc;
    font-size: 0.875rem;
}

.beian {
    color: #cccccc;
    text-decoration: none;
}

.beian:hover {
    text-decoration: underline;
}

/* 天气图标样式 */
.weather {
    width: 20px;
    margin-left: 8px;
    vertical-align: middle;
}

/* 加载动画 */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* 图片放大功能样式 */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-image {
    max-width: 90%;
    max-height: 90vh;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal-image.active {
    opacity: 1;
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 图片点击效果 */
.timeline-image {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.timeline-image:hover {
    transform: scale(1.01);
}